<?php
/**
 * ExtHtmlElement class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtHtmlElement extends ExtHtmlElementBase
{
    /**
     * Gets the value of ExtJS tag property
     * @return String 
     */
    public function getTag()
    {
    	return $this->getConfig("tag");
    }

    /**
     * Sets the value of ExtJS tag property
     * @param String $value 
     */
    public function setTag($value)
    {
    	$this->setConfig("tag",$value);
    }

    /**
     * Gets the value of ExtJS style property
     * @return String 
     */
    public function getStyle()
    {
    	return $this->getConfig("style");
    }

    /**
     * Sets the value of ExtJS style property
     * @param String $value 
     */
    public function setStyle($value)
    {
    	$this->setConfig("style",$value);
    }

    /**
     * Gets the value of ExtJS trimcontent property
     * @return Boolean 
     */
    public function getTrimcontent()
    {
    	return $this->getConfig("trimcontent");
    }

    /**
     * Sets the value of ExtJS trimcontent property
     * @param Boolean $value 
     */
    public function setTrimcontent($value)
    {
    	$this->setConfig("trimcontent",$value);
    }

    
    public function __construct()
    {
        parent::__construct();



        $this->proptags = array_merge($this->proptags,array(
            'body' => true
        ));
        $this->setXType('htmlelement');
        $this->setXClass('Ext4Yii.ux.HtmlElement');
    }    
}
?>